home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: Essential Home & Business / PC-SIG - Essential Home and Business Collection.iso / 26 / 1 / 7 / MKDIREC.BAT < prev    next >
DOS Batch File  |  1990-04-28  |  211b  |  14 lines

  1. ECHO OFF
  2. cls
  3.      %2:
  4.      cd\
  5.      if %1==dir goto :dir
  6.      if %1==sub goto :sub
  7. :dir
  8.      if not exist %2:\%3\*.* md %3
  9.      goto :end
  10. :sub
  11.      cd %3
  12.      if not exist %2:\%3\%4\*.* md %4
  13. :end
  14.